var member;
$(function(){
	//获取cookie中的对象
	member=getEntity("memberInfo");
	if(member){
		$("#mName").html("会员名："+member.mName);
		$("#mPhone").html("绑定手机："+member.mPhone+"<a href=''>修改手机</a>");
		if(member.mImg){
			$("#imgSpan").prepend('<img src="'+baseFile+member.mImg+'" id="mImg" alt="" />')
		}else{
			$("#imgSpan").prepend('<img src="'+rootPath+'/images/header.png" id="mImg" alt="" />')
		}
	}else{
		window.location.href=rootPath+"/";
	}
}); 

 